package org.mtmi.ui.scenes;

/**
 * Control and others that need to be animated should implements this interface.
 * @see AnimationManager
 * @author arnaud
 */
public interface IAnimated 
{
	/**
	 * Do a step in animation.
	 * 
	 * @return if interface require further animation step, false if animation is complete.
	 */
     public boolean animationStep();
     
     /**
      * @return current animating state of object.
      * Should be the value returned by last animationStep() call ( animationStep() == isAnimating() is always true ).
      */
     public boolean isAnimating(); 
}
